<?xml version="1.0" encoding="utf-8"?>
<extension version="3.1" type="plugin" group="user" method="upgrade">
	<name>plg_user_profile</name>
	<author>Joomla! Project</author>
	<creationDate>January 2008</creationDate>
	<copyright>(C) 2005 - 2015 Open Source Matters. All rights reserved.</copyright>
	<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
	<authorEmail>admin@joomla.org</authorEmail>
	<authorUrl>www.joomla.org</authorUrl>
	<version>3.0.0</version>
	<description>PLG_USER_PROFILE_XML_DESCRIPTION</description>
	<files>
		<filename plugin="profile">profile.php</filename>
		<folder>profiles</folder>
		<folder>fields</folder>
	</files>
	<languages>
		<language tag="en-GB">en-GB.plg_user_profile.ini</language>
		<language tag="en-GB">en-GB.plg_user_profile.sys.ini</language>
	</languages>
	<config>
		<fields name="params">
			<fieldset name="basic" addfieldpath="/administrator/components/com_content/models/fields">
				<field name="register-require-user"
					type="spacer"
					class="text"
					label="PLG_USER_PROFILE_FIELD_NAME_REGISTER_REQUIRE_USER"
				/>

				<field name="register-require_address1"
					type="list"
					description="PLG_USER_PROFILE_FIELD_ADDRESS1_DESC"
					label="PLG_USER_PROFILE_FIELD_ADDRESS1_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="register-require_address2"
					type="list"
					description="PLG_USER_PROFILE_FIELD_ADDRESS2_DESC"
					label="PLG_USER_PROFILE_FIELD_ADDRESS2_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="register-require_city"
					type="list"
					description="PLG_USER_PROFILE_FIELD_CITY_DESC"
					label="PLG_USER_PROFILE_FIELD_CITY_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="register-require_region"
					type="list"
					description="PLG_USER_PROFILE_FIELD_REGION_DESC"
					label="PLG_USER_PROFILE_FIELD_REGION_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="register-require_country"
					type="list"
					description="PLG_USER_PROFILE_FIELD_COUNTRY_DESC"
					label="PLG_USER_PROFILE_FIELD_COUNTRY_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="register-require_postal_code"
					type="list"
					description="PLG_USER_PROFILE_FIELD_POSTAL_CODE_DESC"
					label="PLG_USER_PROFILE_FIELD_POSTAL_CODE_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="register-require_phone"
					type="list"
					description="PLG_USER_PROFILE_FIELD_PHONE_DESC"
					label="PLG_USER_PROFILE_FIELD_PHONE_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="register-require_website"
					type="list"
					description="PLG_USER_PROFILE_FIELD_WEB_SITE_DESC"
					label="PLG_USER_PROFILE_FIELD_WEB_SITE_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>
				<field 	name="register-require_favoritebook"
					type="list"
					label="PLG_USER_PROFILE_FIELD_FAVORITE_BOOK_LABEL"
					description="PLG_USER_PROFILE_FIELD_FAVORITE_BOOK_DESC"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field
					name="register-require_aboutme"
					type="list"
					label="PLG_USER_PROFILE_FIELD_ABOUT_ME_LABEL"
					description="PLG_USER_PROFILE_FIELD_ABOUT_ME_DESC"
				>
					<option	value="2">JOPTION_REQUIRED</option>
					<option	value="1">JOPTION_OPTIONAL</option>
					<option	value="0">JDISABLED</option>
				</field>
				<field
					name="register-require_tos"
					type="list"
					default="0"
					label="PLG_USER_PROFILE_FIELD_TOS_LABEL"
					description="PLG_USER_PROFILE_FIELD_TOS_DESC"
				>
					<option	value="2">JOPTION_REQUIRED</option>
					<option	value="0">JDISABLED</option>
				</field>
				<field
					name="register_tos_article"
					type="modal_article"

					label="PLG_USER_PROFILE_FIELD_TOS_ARTICLE_LABEL"
					description="PLG_USER_PROFILE_FIELD_TOS_ARTICLE_DESC"
				/>
				<field
					name="register-require_dob"
					type="list"

					label="PLG_USER_PROFILE_FIELD_DOB_LABEL"
					description="PLG_USER_PROFILE_FIELD_DOB_DESC">
					<option	value="2">JOPTION_REQUIRED</option>
					<option	value="1">JOPTION_OPTIONAL</option>
					<option	value="0">JDISABLED</option>
				</field>
				<field name="spacer1" type="spacer"
					hr="true"
				/>
				<field name="profile-require-user" type="spacer" class="text"
					label="PLG_USER_PROFILE_FIELD_NAME_PROFILE_REQUIRE_USER"
				/>

				<field name="profile-require_address1" type="list"

					description="PLG_USER_PROFILE_FIELD_ADDRESS1_DESC"
					label="PLG_USER_PROFILE_FIELD_ADDRESS1_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="profile-require_address2" type="list"

					description="PLG_USER_PROFILE_FIELD_ADDRESS2_DESC"
					label="PLG_USER_PROFILE_FIELD_ADDRESS2_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="profile-require_city" type="list"

					description="PLG_USER_PROFILE_FIELD_CITY_DESC"
					label="PLG_USER_PROFILE_FIELD_CITY_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="profile-require_region" type="list"

					description="PLG_USER_PROFILE_FIELD_REGION_DESC"
					label="PLG_USER_PROFILE_FIELD_REGION_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="profile-require_country" type="list"

					description="PLG_USER_PROFILE_FIELD_COUNTRY_DESC"
					label="PLG_USER_PROFILE_FIELD_COUNTRY_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="profile-require_postal_code" type="list"

					description="PLG_USER_PROFILE_FIELD_POSTAL_CODE_DESC"
					label="PLG_USER_PROFILE_FIELD_POSTAL_CODE_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="profile-require_phone" type="list"
					description="PLG_USER_PROFILE_FIELD_PHONE_DESC"
					label="PLG_USER_PROFILE_FIELD_PHONE_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field name="profile-require_website" type="list"

					description="PLG_USER_PROFILE_FIELD_WEB_SITE_DESC"
					label="PLG_USER_PROFILE_FIELD_WEB_SITE_LABEL"
				>
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>
				<field 	name="profile-require_favoritebook"
					type="list"
					label="PLG_USER_PROFILE_FIELD_FAVORITE_BOOK_LABEL"
					description="PLG_USER_PROFILE_FIELD_FAVORITE_BOOK_DESC">
					<option value="2">JOPTION_REQUIRED</option>
					<option value="1">JOPTION_OPTIONAL</option>
					<option value="0">JDISABLED</option>
				</field>

				<field
					name="profile-require_aboutme"
					type="list"
					label="PLG_USER_PROFILE_FIELD_ABOUT_ME_LABEL"
					description="PLG_USER_PROFILE_FIELD_ABOUT_ME_DESC">
					<option	value="2">JOPTION_REQUIRED</option>
					<option	value="1">JOPTION_OPTIONAL</option>
					<option	value="0">JDISABLED</option>
				</field>
				<field
					name="profile-require_dob"
					type="list"
					label="PLG_USER_PROFILE_FIELD_DOB_LABEL"
					description="PLG_USER_PROFILE_FIELD_DOB_DESC"
				 >
					<option	value="2">JOPTION_REQUIRED</option>
					<option	value="1">JOPTION_OPTIONAL</option>
					<option	value="0">JDISABLED</option>
				</field>

			</fieldset>

		</fields>
	</config>
</extension>
